package com.yishe.biz.mysql;

import com.yishe.biz.BaseBiz;
import com.yishe.entites.mysql.YsStaffCaseDetailInfo;
import com.yishe.entites.vo.YsStaffCaseDetailVo;
import com.yishe.mapper.mysql.YsStaffCaseDetailInfoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author : chusifeng
 * @version :1.0
 * @date :Create in 2021/4/9 23:08
 * @description: 员工上课课程处理类
 * @package com.yishe.biz.mysql
 * @className StaffCaseDetailInfoBiz
 */
@Service
public class YsStaffCaseDetailInfoBiz extends BaseBiz<YsStaffCaseDetailInfoMapper, YsStaffCaseDetailInfo> {

    @Resource
    private YsStaffCaseDetailInfoMapper staffCaseDetailInfoMapper;
    /**
     * 获取本人名下所有课程，包括已上未上，account为空，则查询所有
     * @param param
     * @return
     */
    public List<YsStaffCaseDetailVo> getCaseListDetail(Map<String,String> param){
        return staffCaseDetailInfoMapper.getCaseListDetail(param);
    }
}
